package common;

import java.io.Serializable;

/**
 * serializable message that can be send over the sockets between client and
 * server. 
 */
public class TextMessage implements Serializable {

	private static final long serialVersionUID = -9161595018411902079L;
	private String content;
    private boolean system_Message = false;

	public TextMessage(String content) {
        super();
        this.content = content;
    }

    public TextMessage(String content, boolean system_Message) {
        super();
        this.system_Message = system_Message;
        this.content = content;
    }

	public String getContent() {
		return content;
	}

    public boolean isSystem_Message() {
        return system_Message;
    }
}
